package edu.sctu.zhuyingzhi.month201505.day20150506.homeworkV2;

/**
 * Created by user24 on 2015/5/5.
 */
public class MainFunction {
    public static int getString(){
        return 0;
    }
    public static void main(String[] args) {
        InterfaceDog dog;
        dog = new InterfaceDog() {
            @Override
            public int getNature(String color, String size, String action) {
                System.out.println("颜色：" + color + "\n" + "大小：" + size + "\n" + "行为：" + action);

                return getString();
            }
        };
        new Call().shows(dog);

    }



}